//首页
import Layout from '@/views/layout/Layout'

const main = {
  path: '/',
  name: 'main',
  component: Layout,
  key: 'main',
  alwaysShow: true,
  meta: {
    title: '首页',
    icon:'main'
  },
  children: [
    /*{
    path: 'index',
    name: 'index',
    key: 'index',
    component: () => import('@/views/main/main/index'),
    meta: {
      title: '首页'
    }
  },*/
    {
    path: 'companyMess',
    name: 'companyMess',
    key: 'companyMess',
    // hidden:true,
    component: () => import('@/views/main/main/companyMess'),
    meta: {
      title: '商户信息'
    }
  },{
    path: 'userManage',
    key: 'userManage',
    component: () => import('@/views/main/account/userManage'),
    meta: {
      title: '账号管理'
    }
  }
  ,{
    path: 'roleManage',
    name: 'roleManage',
    key: 'roleManage',
    component: () => import('@/views/main/account/roleManage'),
    meta: {
      title: '角色权限'
    }
  }
  ]
}
export default main;
